package com.leoandroid.tool.toolsbox.bean;

import org.jetbrains.annotations.NotNull;

public final class DiscernInfoBean {
    @NotNull
    private final BaikeInfo baike_info;
    @NotNull
    private final String name;
    @NotNull
    private final String score;

    public static final class BaikeInfo {
        @NotNull
        private final String baike_url;
        @NotNull
        private final String description;

        public BaikeInfo(@NotNull String str, @NotNull String str2) {
            this.baike_url = str;
            this.description = str2;
        }


        @NotNull
        public String getBaike_url() {
            return this.baike_url;
        }

        @NotNull
        public String getDescription() {
            return this.description;
        }

        public int hashCode() {
            return (this.baike_url.hashCode() * 31) + this.description.hashCode();
        }

        @NotNull
        public String toString() {
            return "BaikeInfo(baike_url=" + this.baike_url + ", description=" + this.description + ')';
        }
    }

    public DiscernInfoBean(@NotNull String str, @NotNull String str2, @NotNull BaikeInfo baikeInfo) {
        this.score = str;
        this.name = str2;
        this.baike_info = baikeInfo;
    }

    @NotNull
    public BaikeInfo getBaike_info() {
        return this.baike_info;
    }

    @NotNull
    public String getName() {
        return this.name;
    }

    @NotNull
    public String getScore() {
        return this.score;
    }


    @NotNull
    public String toString() {
        return "DiscernInfoBean(score=" + this.score + ", name=" + this.name + ", baike_info=" + this.baike_info + ')';
    }
}
